#!/usr/bin/python
# coding:utf-8
# auther:DT
# 2017-08-08_11-30-56


def tester(start):
    state = start

    def nested(label):
        nonlocal state
        print(label, state)
        state += 1
    return nested


F = tester(0)
F('cali')
F("SANLE")
F("SANLE1")
F("SANLE2")
F("wangtao1")
F("liqiang2")
